package com.degon.hsyl.customchatapp;

import android.app.Application;

import com.facebook.drawee.backends.pipeline.Fresco;

import org.litepal.LitePal;

import io.rong.imlib.RongIMClient;

public class MyApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();

        //初始化LitePal
        LitePal.initialize(this);

        //Fresco初始化
        Fresco.initialize(this);

        //IM初始化
        String appKey = "pkfcgjstpoti8";
        RongIMClient.init(this, appKey);
    }
}
